package com.example.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * Created by Cc on 2018/3/5.
 */
@Controller
public class HelloWorldController {


    @RequestMapping("/hello")
    @ResponseBody
    private String hello() {

        System.out.println("??");
        return "Hello World!";
    }
}
